package com.ydgk.dao;

import com.ydgk.bean.Area;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface AreaMapper {
    @Select("select * from area where d_did = #{did}")
    List<Area> findByDid(int did);

    @Select("select * from area where arid = #{arid}")
    Area findById(int arid);
}
